package http

import "net/http"

//go:generate gowrap gen -p ./ -i Demo -t http.gohtml -o demo_gen.go -g
// //go:generate gowrap gen -p ./ -i Demo -t log.tmpl -o demo_log_gen.go -g

type Req struct {
	Name string
	Password string
}

type Res struct {
	Code int
}

type Demo interface {
	//Method1()
	//
	//Get(req *Req) *Res


	// Method2 req
	// @var id.type=path,vv.type=path,req.type=json,f.type=query
	Method2(id int,vv string,f float32,req *Req) (res *Res,err error)
	Method3(r *http.Request)

}
